package com.micai.springboot.controller.admin;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

/**
 * 描述：
 * <p>
 * Author: 赵新国
 * Date: 2017/11/13 12:07
 */
@Controller
@RequestMapping("/admin")
public class AdminIndexController {

    /**
     * 后台首页
     * @return
     */
    @RequestMapping("/index")
    public String adminIndex(Map<String,Object> map) {
        map.put("name", "[Angel -- 守护天使]");
        return "admin/index";
    }
}
